#ifndef VTKFIELDEXPORT_CONSTANT_HPP
#define VTKFIELDEXPORT_CONSTANT_HPP

#include "solverBase.hpp"
#include "tinyxml2.h"

namespace hms::vtk
{

namespace xml = tinyxml2;

template<typename SolverType>
void writeConstantField(
	xml::XMLElement* parent,
	const SolverBase<SolverType>& solver,
	typename SolverBase<SolverType>::ConstantFieldName fieldName
);

template<typename SolverType>
void writeConstantFields(
	xml::XMLNode* node,
	const SolverBase<SolverType>& solver
);

template<typename SolverType>
std::unique_ptr<xml::XMLDocument> constantFieldsToXML(
	const SolverBase<SolverType>& solver
);


} // namespace hms::vtk

#include "vtkFieldExport_constant.tpp"

#endif